package com.lj.mcore;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
import org.springframework.retry.annotation.EnableRetry;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@EntityScan(basePackages = {"com.lj.mcore.entity.*"})
@EnableJpaRepositories(basePackages = {"com.lj.mcore.*"})
@EnableRetry(proxyTargetClass = true)
@EnableTransactionManagement
public class MCoreApplication {

    public static void main(String[] args) {
        SpringApplication.run(MCoreApplication.class, args);
    }

}
